package com.yanxu.design02_builder.v3;

/**
 * @author 折戟沉沙铁未销
 * @version V1.0
 * @date 2025/4/14-2025
 * @Description: 具体的构建者，用来构建 ofo 单车
 */
public class OfoBuilder extends Builder {
    @Override
    void buildFrame() {
        bike.setFrame("铝合金车架");
    }

    @Override
    void buildSeat() {
        bike.setSeat("真皮车座");
    }

    @Override
    Bike createBike() {
        return bike;
    }
}